<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="服务器连接">
        <device-vehicle-config-connection :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="终端设备全局配置">
        <device-vehicle-config-deviceglobal  :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="终端设备时间配置">
        <device-vehicle-config-devicetime  :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="速度告警配置">
        <device-vehicle-config-speed-alarm :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="圆形电子围栏配置">
        <device-vehicle-config-circle-geofence :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="多边形电子围栏配置">
        <device-vehicle-config-polygon-geofence :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="速度上报范围设置">
        <device-vehicle-config-fri :data="data" />
      </a-tab-pane>
      <a-tab-pane key="8" tab="推送历史">
        <device-vehicle-config-queue :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceVehicleConfigConnection from './vehicle-config-connection.vue'
import DeviceVehicleConfigDeviceglobal from './vehicle-config-deviceglobal.vue'
import DeviceVehicleConfigDevicetime from './vehicle-config-devicetime.vue'
import DeviceVehicleConfigSpeedAlarm from './vehicle-config-speed-alarm.vue'
import DeviceVehicleConfigQueue from './vehicle-config-queue.vue'
import DeviceVehicleConfigCircleGeofence from './vehicle-config-circle-geofence.vue'
import DeviceVehicleConfigPolygonGeofence from './vehicle-config-polygon-geofence.vue'
import DeviceVehicleConfigFri from './vehicle-config-fri.vue'
export default {
  name: 'DeviceVehicle',
  components: {
    DeviceVehicleConfigPolygonGeofence,
    DeviceVehicleConfigCircleGeofence,
    DeviceVehicleConfigConnection,
    DeviceVehicleConfigDeviceglobal,
    DeviceVehicleConfigDevicetime,
    DeviceVehicleConfigSpeedAlarm,
    DeviceVehicleConfigQueue,
    DeviceVehicleConfigFri
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
